package com.reader.api.mapper.usercenter;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.reader.api.entity.usercenter.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author jiahaikun
 * @since 2018-10-10
 */
public interface UserMapper extends BaseMapper<User> {
    User getUserInfo(User user);

    List<Map<String, Object>> selectListPage(Pagination page,
                                             @Param("loginId") String loginId,
                                             @Param("name") String name,
                                             @Param("code") String code);

}
